(function($) {
  'use strict';

  $(function() {
    var $fullText = $('.admin-fullText');
    $('#admin-fullscreen').on('click', function() {
      $.AMUI.fullscreen.toggle();
    });

    $(document).on($.AMUI.fullscreen.raw.fullscreenchange, function() {
      $fullText.text($.AMUI.fullscreen.isFullscreen ? '退出全屏' : '开启全屏');
    });
  });
  
  
})(jQuery);

//alert
function mz_alert(msg){
	$('#mz_alert').find('div.am-modal-bd').html(msg);
	$('#mz_alert').modal();
}

//popup
function mz_popup(title, content){
	$('#mz_popup').find('h4.am-popup-title').html(title);
	$('#mz_popup').find('div.am-popup-bd').html(content);
	$('#mz_popup').modal();
}